<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ogre_glTF: Ogre_glTF::glTFLoader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ogre_glTF
   </div>
   <div id="projectbrief">glTF import library for Ogre</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_ogre__gl_t_f_1_1gl_t_f_loader.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_ogre__gl_t_f_1_1gl_t_f_loader-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Ogre_glTF::glTFLoader Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Class that is responsible for initializing the library with the loader, and giving out.  
 <a href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_ogre__gl_t_f_8hpp_source.html">Ogre_glTF.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Ogre_glTF::glTFLoader:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_ogre__gl_t_f_1_1gl_t_f_loader.png" usemap="#Ogre_5FglTF::glTFLoader_map" alt=""/>
  <map id="Ogre_5FglTF::glTFLoader_map" name="Ogre_5FglTF::glTFLoader_map">
<area href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html" title="Plugin accessible interface that plugin users can use. " alt="Ogre_glTF::glTFLoaderInterface" shape="rect" coords="0,0,194,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgl_t_f_loader_1_1gl_t_f_loader_impl.html">glTFLoaderImpl</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implementation of the glTF loader. Exist as a pImpl inside the glTFLoader class.  <a href="structgl_t_f_loader_1_1gl_t_f_loader_impl.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3cdf1c1f9d24407a347d430e60ee5207"><td class="memItemLeft" align="right" valign="top"><a id="a3cdf1c1f9d24407a347d430e60ee5207"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a3cdf1c1f9d24407a347d430e60ee5207">glTFLoader</a> ()</td></tr>
<tr class="memdesc:a3cdf1c1f9d24407a347d430e60ee5207"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the library by creating this object. <br /></td></tr>
<tr class="separator:a3cdf1c1f9d24407a347d430e60ee5207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40845fca1ae8c6f3610f5aca55b17c1a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a40845fca1ae8c6f3610f5aca55b17c1a">glTFLoader</a> (<a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a> &amp;&amp;other) noexcept</td></tr>
<tr class="separator:a40845fca1ae8c6f3610f5aca55b17c1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8197ec374505efbcc52d34b89132792f"><td class="memItemLeft" align="right" valign="top"><a id="a8197ec374505efbcc52d34b89132792f"></a>
<a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a8197ec374505efbcc52d34b89132792f">operator=</a> (<a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a> &amp;&amp;other) noexcept</td></tr>
<tr class="memdesc:a8197ec374505efbcc52d34b89132792f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assign operator. <br /></td></tr>
<tr class="separator:a8197ec374505efbcc52d34b89132792f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85f0e69d53eb0e87f47d56d7fb5bf203"><td class="memItemLeft" align="right" valign="top"><a id="a85f0e69d53eb0e87f47d56d7fb5bf203"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a85f0e69d53eb0e87f47d56d7fb5bf203">~glTFLoader</a> ()</td></tr>
<tr class="memdesc:a85f0e69d53eb0e87f47d56d7fb5bf203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitialize the library at this object destruction. <br /></td></tr>
<tr class="separator:a85f0e69d53eb0e87f47d56d7fb5bf203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afac8c41be7c44a6dbb23aedeeaf69a4a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#afac8c41be7c44a6dbb23aedeeaf69a4a">loadFromFileSystem</a> (const std::string &amp;path) const</td></tr>
<tr class="separator:afac8c41be7c44a6dbb23aedeeaf69a4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a854ae9d5696d874bd6f94e612e4aacc3"><td class="memItemLeft" align="right" valign="top"><a id="a854ae9d5696d874bd6f94e612e4aacc3"></a>
<a class="el" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a854ae9d5696d874bd6f94e612e4aacc3">loadGlbResource</a> (const std::string &amp;name) const</td></tr>
<tr class="memdesc:a854ae9d5696d874bd6f94e612e4aacc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load a GLB from Ogre's resource manager. <br /></td></tr>
<tr class="separator:a854ae9d5696d874bd6f94e612e4aacc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a100aa473b61768dfa556e20df11868"><td class="memItemLeft" align="right" valign="top"><a id="a6a100aa473b61768dfa556e20df11868"></a>
<a class="el" href="struct_ogre__gl_t_f_1_1_model_information.html">ModelInformation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a6a100aa473b61768dfa556e20df11868">getModelData</a> (const std::string &amp;modelName, <a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a56f74d9fb7f1b1aae1e962b3c2b18416">LoadFrom</a> loadLocation) override</td></tr>
<tr class="memdesc:a6a100aa473b61768dfa556e20df11868"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the model data. Contains everything you need to create object from the model contained on the glTF asset. <br /></td></tr>
<tr class="separator:a6a100aa473b61768dfa556e20df11868"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7f0773e1eef31312a474d07f39c7a3c"><td class="memItemLeft" align="right" valign="top">Ogre::Item *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#ad7f0773e1eef31312a474d07f39c7a3c">getItemFromResource</a> (const std::string &amp;name, Ogre::SceneManager *smgr) override</td></tr>
<tr class="separator:ad7f0773e1eef31312a474d07f39c7a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae07109a22311da5ecfb647edc80e0d71"><td class="memItemLeft" align="right" valign="top">Ogre::Item *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#ae07109a22311da5ecfb647edc80e0d71">getItemFromFileSystem</a> (const std::string &amp;fileName, Ogre::SceneManager *smgr) override</td></tr>
<tr class="separator:ae07109a22311da5ecfb647edc80e0d71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90bc322cf88bac154bf345b5932cf3f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a90bc322cf88bac154bf345b5932cf3f8">getMeshFromResource</a> (const std::string &amp;name) override</td></tr>
<tr class="separator:a90bc322cf88bac154bf345b5932cf3f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a850ee80e62c910602df8feafd6ea08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a2a850ee80e62c910602df8feafd6ea08">getMeshFromFileSystem</a> (const std::string &amp;name) override</td></tr>
<tr class="separator:a2a850ee80e62c910602df8feafd6ea08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad42c3898cd3baaf3ad5528dd8fba0116"><td class="memItemLeft" align="right" valign="top"><a id="ad42c3898cd3baaf3ad5528dd8fba0116"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#ad42c3898cd3baaf3ad5528dd8fba0116">glTFLoader</a> (const <a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a> &amp;)=delete</td></tr>
<tr class="memdesc:ad42c3898cd3baaf3ad5528dd8fba0116"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deleted copy constructor. <br /></td></tr>
<tr class="separator:ad42c3898cd3baaf3ad5528dd8fba0116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72bf9234aff75cfa7ab74412f8df7229"><td class="memItemLeft" align="right" valign="top"><a id="a72bf9234aff75cfa7ab74412f8df7229"></a>
<a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html#a72bf9234aff75cfa7ab74412f8df7229">operator=</a> (const <a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a> &amp;)=delete</td></tr>
<tr class="memdesc:a72bf9234aff75cfa7ab74412f8df7229"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deleted assignment operator. <br /></td></tr>
<tr class="separator:a72bf9234aff75cfa7ab74412f8df7229"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html">Ogre_glTF::glTFLoaderInterface</a></td></tr>
<tr class="memitem:af55cba329954d9f2eade9415f05f37b7 inherit pub_methods_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface"><td class="memItemLeft" align="right" valign="top"><a id="af55cba329954d9f2eade9415f05f37b7"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#af55cba329954d9f2eade9415f05f37b7">~glTFLoaderInterface</a> ()=default</td></tr>
<tr class="memdesc:af55cba329954d9f2eade9415f05f37b7 inherit pub_methods_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Polymorphic dtor. <br /></td></tr>
<tr class="separator:af55cba329954d9f2eade9415f05f37b7 inherit pub_methods_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface"><td colspan="2" onclick="javascript:toggleInherit('pub_types_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html">Ogre_glTF::glTFLoaderInterface</a></td></tr>
<tr class="memitem:a56f74d9fb7f1b1aae1e962b3c2b18416 inherit pub_types_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface"><td class="memItemLeft" align="right" valign="top"><a id="a56f74d9fb7f1b1aae1e962b3c2b18416"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a56f74d9fb7f1b1aae1e962b3c2b18416">LoadFrom</a> { <b>FileSystem</b>, 
<b>ResourceManager</b>
 }</td></tr>
<tr class="memdesc:a56f74d9fb7f1b1aae1e962b3c2b18416"><td class="mdescLeft">&#160;</td><td class="mdescRight">location where to load the data <br /></td></tr>
<tr class="separator:a56f74d9fb7f1b1aae1e962b3c2b18416 inherit pub_types_struct_ogre__gl_t_f_1_1gl_t_f_loader_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class that is responsible for initializing the library with the loader, and giving out. </p>

<p class="definition">Definition at line <a class="el" href="_ogre__gl_t_f_8hpp_source.html#l00147">147</a> of file <a class="el" href="_ogre__gl_t_f_8hpp_source.html">Ogre_glTF.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a40845fca1ae8c6f3610f5aca55b17c1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40845fca1ae8c6f3610f5aca55b17c1a">&#9670;&nbsp;</a></span>glTFLoader()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">glTFLoader::glTFLoader </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Move constructor </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>object to move </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00284">284</a> of file <a class="el" href="_ogre__gl_t_f_8cpp_source.html">Ogre_glTF.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae07109a22311da5ecfb647edc80e0d71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae07109a22311da5ecfb647edc80e0d71">&#9670;&nbsp;</a></span>getItemFromFileSystem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ogre::Item * glTFLoader::getItemFromFileSystem </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Ogre::SceneManager *&#160;</td>
          <td class="paramname"><em>smgr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get you an item from a GLB or a GLTF file from the filesystem. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>The name of the resource </td></tr>
    <tr><td class="paramname">smgr</td><td>The scene manager where the Item will be used </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to a created item in your scene manager using the mesh in the glTF asset </dd></dl>

<p>Implements <a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a6c3d2dd855148f7402a11f395461cf81">Ogre_glTF::glTFLoaderInterface</a>.</p>

<p class="definition">Definition at line <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00251">251</a> of file <a class="el" href="_ogre__gl_t_f_8cpp_source.html">Ogre_glTF.cpp</a>.</p>

<p class="reference">References <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00058">Ogre_glTF::loaderAdapter::getItem()</a>, <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00103">Ogre_glTF::loaderAdapter::isOk()</a>, and <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00179">loadFromFileSystem()</a>.</p>

</div>
</div>
<a id="ad7f0773e1eef31312a474d07f39c7a3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7f0773e1eef31312a474d07f39c7a3c">&#9670;&nbsp;</a></span>getItemFromResource()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ogre::Item * glTFLoader::getItemFromResource </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Ogre::SceneManager *&#160;</td>
          <td class="paramname"><em>smgr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get you an item from a GLB file loaded inside an Ogre resource group </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the resource </td></tr>
    <tr><td class="paramname">smgr</td><td>The scene manager where the Item will be used </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to a created item in your scene manager using the mesh in the glTF asset </dd></dl>

<p>Implements <a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a95e25de27484ea401c4310c5006f2f7c">Ogre_glTF::glTFLoaderInterface</a>.</p>

<p class="definition">Definition at line <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00237">237</a> of file <a class="el" href="_ogre__gl_t_f_8cpp_source.html">Ogre_glTF.cpp</a>.</p>

<p class="reference">References <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00058">Ogre_glTF::loaderAdapter::getItem()</a>, <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00103">Ogre_glTF::loaderAdapter::isOk()</a>, and <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00196">loadGlbResource()</a>.</p>

</div>
</div>
<a id="a2a850ee80e62c910602df8feafd6ea08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a850ee80e62c910602df8feafd6ea08">&#9670;&nbsp;</a></span>getMeshFromFileSystem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a> glTFLoader::getMeshFromFileSystem </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gets you a mesh and a material datablock from GLB or a GLTF file from the filesystem </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the resource </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a struct containing pointers to a mesh and a datablock </dd></dl>

<p>Implements <a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#a75e780cc1748f4ee47cc1d7c810159b6">Ogre_glTF::glTFLoaderInterface</a>.</p>

<p class="definition">Definition at line <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00262">262</a> of file <a class="el" href="_ogre__gl_t_f_8cpp_source.html">Ogre_glTF.cpp</a>.</p>

<p class="reference">References <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00087">Ogre_glTF::loaderAdapter::getDatablock()</a>, <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00074">Ogre_glTF::loaderAdapter::getMesh()</a>, <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00103">Ogre_glTF::loaderAdapter::isOk()</a>, and <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00179">loadFromFileSystem()</a>.</p>

</div>
</div>
<a id="a90bc322cf88bac154bf345b5932cf3f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90bc322cf88bac154bf345b5932cf3f8">&#9670;&nbsp;</a></span>getMeshFromResource()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_ogre__gl_t_f_1_1_mesh_and_data_block.html">MeshAndDataBlock</a> glTFLoader::getMeshFromResource </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get you a mesh and a material datablock from a GLB in the resource manager </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the resource </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a struct containing pointers to a mesh and a datablock </dd></dl>

<p>Implements <a class="el" href="struct_ogre__gl_t_f_1_1gl_t_f_loader_interface.html#aeb59bfe270efed0b8a6d549c6f748e85">Ogre_glTF::glTFLoaderInterface</a>.</p>

<p class="definition">Definition at line <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00273">273</a> of file <a class="el" href="_ogre__gl_t_f_8cpp_source.html">Ogre_glTF.cpp</a>.</p>

<p class="reference">References <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00087">Ogre_glTF::loaderAdapter::getDatablock()</a>, <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00074">Ogre_glTF::loaderAdapter::getMesh()</a>, <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00103">Ogre_glTF::loaderAdapter::isOk()</a>, and <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00196">loadGlbResource()</a>.</p>

</div>
</div>
<a id="afac8c41be7c44a6dbb23aedeeaf69a4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afac8c41be7c44a6dbb23aedeeaf69a4a">&#9670;&nbsp;</a></span>loadFromFileSystem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ogre__gl_t_f_1_1loader_adapter.html">loaderAdapter</a> glTFLoader::loadFromFileSystem </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Load a glTF text or binary file. Give you an adapter to use this file with Ogre </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>String containing the path to a file to load (either .glTF or .glc) </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00179">179</a> of file <a class="el" href="_ogre__gl_t_f_8cpp_source.html">Ogre_glTF.cpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00251">getItemFromFileSystem()</a>, <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00262">getMeshFromFileSystem()</a>, and <a class="el" href="_ogre__gl_t_f_8cpp_source.html#l00213">getModelData()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/YbalridSoftware/AnnwvynSDK64/Ogre_glTF/include/<a class="el" href="_ogre__gl_t_f_8hpp_source.html">Ogre_glTF.hpp</a></li>
<li>C:/YbalridSoftware/AnnwvynSDK64/Ogre_glTF/src/<a class="el" href="_ogre__gl_t_f_8cpp_source.html">Ogre_glTF.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>Ogre_glTF</b></li><li class="navelem"><a class="el" href="class_ogre__gl_t_f_1_1gl_t_f_loader.html">glTFLoader</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
